﻿<%@ Page Title="Product management" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="ProductManagement.aspx.cs" Inherits="Default2" %>

<%@ Register src="UserControls/AddProduct.ascx" tagname="AddProduct" tagprefix="uc1" %>
<%@ Register src="UserControls/EditProduct.ascx" tagname="EditProduct" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="menu">
    <a href="ProductManagement.aspx?view=0">Add Product</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="ProductManagement.aspx?view=1">Update and delete product</a>
    </div>
    <asp:MultiView ID="MultiView2" runat="server">
        <asp:View ID="View1" runat="server">
            <uc1:AddProduct ID="AddProduct1" runat="server" />
        </asp:View>
         <asp:View ID="View2" runat="server">
             <uc2:EditProduct ID="EditProduct1" runat="server" />
        </asp:View>
    </asp:MultiView>
    
</asp:Content>

